package cn.com.cabinet.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cabinet.web.entity.User;

import cn.com.cabinet.dao.UserDao;

@Service
public class UserServiceImpl {

	@Autowired
	private UserDao userDao;
	
	public List<User> getUser(int page,int limit){
		return userDao.getUser(page, limit);
		
	}
	
	public int getUserCount(){
		return userDao.getUserCount();
	}
	
}
